home *** CD-ROM | disk | FTP | other *** search
- on goToTheRightFileMan
- repeat with x = 1 to 20
- set fname to getNthFileNameInFolder(the pathName, x)
- if fname starts "AA01." then
- go(1, "aa01")
- exit
- end if
- end repeat
- if the machineType = 256 then
- GetWindowsDemoROM()
- else
- go(1, "TD Demo:aa01")
- end if
- end
-
- on GetWindowsDemoROM
- set tempLST to value(field "DriveLST.FLD")
- repeat with DriveLetter in tempLST
- repeat with x = 1 to 20
- set fname to getNthFileNameInFolder(DriveLetter & ":\", x)
- if fname starts "AA01." then
- set the searchPath to [DriveLetter & ":\"]
- go(1, DriveLetter & ":\aa01")
- exit
- end if
- end repeat
- end repeat
- go(1, "aa01")
- end
-